package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.SystemDictionaryItem;

import java.util.List;

public interface ISystemDictionaryItemService {

    void saveOrUpdate(SystemDictionaryItem entity);
    void delete(Long id);
    SystemDictionaryItem get(Long id);
    List<SystemDictionaryItem> list();

    List<SystemDictionaryItem> selectByDictionaryId(Long id);

    Long selectByParentId(Long id);

    List<SystemDictionaryItem> getItemBySn(String sn);

}
